﻿using System.Data.Entity;

namespace Silent.MDB.Server.Model.Contexts.Configurations.Entities
{
    public static class EntityConfigurationFactory
    {
        public static void CreateConfigurations(DbModelBuilder modelBuilder)
        {
            modelBuilder.Configurations.Add(new RootObjectConfiguration());
            modelBuilder.Configurations.Add(new FolderConfiguration());
            modelBuilder.Configurations.Add(new PersonConfiguration());
            modelBuilder.Configurations.Add(new TeacherConfiguration());
            modelBuilder.Configurations.Add(new StudentConfiguration());
            modelBuilder.Configurations.Add(new DepartmentConfiguration());
            modelBuilder.Configurations.Add(new FacultyConfiguration());
            modelBuilder.Configurations.Add(new CathedraConfiguration());
        }
    }
}
